#!/usr/bin/env python
# -*- conding: utf-8 -*-

"""
@Time     : 2024/8/25 22:05
@Author   : liujingmao
@File     : 1.BaseChatMemory运行流程解析.py
"""

from langchain.memory.chat_memory import BaseChatMemory

memory = BaseChatMemory(
    input_key="query",
    output_key="output",
    return_message=True
    # chat_history
)

memory_value = memory.load_memory_variables({})
memory_variable = memory.load_memory_variables({})
